home *** CD-ROM | disk | FTP | other *** search
- Short: Turbo list command replacement v0.08
- Author: g.sanderson@ais.gu.edu.au
- Type: util/sys
-
- NEW: as of v0.08, TurboList is pure and hence can be made resident.
- (see history for further additions)
-
- TurboList is a command similar to the standard list command supplied with
- AmigaDOS.
-
- The normal 'list' command, lists files like this:
-
- etherpeek 2369 ---arwed 04-Jan-95 22:21:34
- alien.iff 1314114 ----rwed 07-Jan-95 01:31:08
- desert.rat.toxic.article.gz 3684 ----rwed 05-Apr-95 17:24:34
- ultoa020.o 444 ----rwed 28-Mar-95 19:11:11
- ftphunt.gz 13768 ---arwed 04-Jan-95 14:27:41
- mui23usr.LZX 504572 ----rwed 26-Mar-95 19:21:54
- electric.bullet 1416 ---arwed 04-Jan-95 22:16:54
- ar311.lha 95557 ----rwed Today 02:44:23
- replacement.functions 1029 ----rwed 11-Mar-93 23:20:17
- 9 files - 3796 blocks used
-
-
- TurboList lists them like this (similar to unix ls):
-
- ---arwed 04 Jan 22:21 2.3 K etherpeek
- ----rwed 07 Jan 01:31 1.3 M alien.iff
- ----rwed 05 Apr 17:24 3.6 K desert.rat.toxic.article.gz
- ----rwed 28 Mar 19:11 0.5 K ultoa020.o
- ---arwed 04 Jan 14:27 13.4 K ftphunt.gz
- ----rwed 26 Mar 19:21 492.8 K mui23usr.LZX
- ---arwed 04 Jan 22:16 1.4 K electric.bullet
- ----rwed Tod 02:44:23 93.3 K ar311.lha
- ----rwed 11 Mar xx93 1.0 K replacement.functions
- TOTAL: 9 files [1.8 M] and 0 dirs [1.9 M used, 1.0 M free]
-
-
- As you can see, long filenames do not stuffup the formatting.
- Additionally, file sizes are approximated to their nearest multiplier
- (ie. Kilobytes, Megabytes or Gigabytes), which is much easier to
- read. This behaviour can be switched off.
-
- The date/time output is also different - if the file was created on
- the day you are listing it, it will print out "Tod hh:mm:ss", where
- Tod = Today, hh = hours, mm = minutes, ss = seconds. If the file was
- created within 6 months of Today, the day of the month and the month
- will be printed, along with hh:mm. If the file is older than 6
- months, the full date, but no time, is printed. This unix-like
- behaviour can be switched off and the full date printed without any
- conditions.
-
- Additionally, the file sizes are added up and listed at the end (the
- [1.8 M] in above example). The actual space taken up by the listed
- files is also printed (ie. 1.9 M used) - this is due to the amount of
- blocks being used for a file, and blocks have constant sizes (usually
- 512 bytes on FFS), hence a file which takes up 444 bytes actually
- takes up 2 blocks, 1 * 512 for the file, and 1 * 512 for the directory
- entry (these values all depend on the file system used). The amount
- of free space (ie. 1 M free) on the device is also printed.
-
- - Can be upto 30% faster than the normal 'list' command
- - Long filenames fit without stuffing up the display
- - Approximates the file size so it can be read easily (can be turned off)
- - similar to unix-ls date printing behaviour
- - handles patterns (ie. stuff like foobar.#? etc)
- - listing according to dates (since/upto date limitations)
-
- History:
-
- 0.08 seperated fields by 2 spaces
- seperated size multiplier by 1 space
- modified date output to be more unix like
- modified file size approximator to always display in x.x format
- added COMMENT/S
- added NOTOTAL/S
- removed BOTH/S
- can now be made resident: uses cres.o for resident startup,
- hence the executable is larger than necessary. Next version
- may have a stripped down version of cres.o
-
- 0.07 - 0.01 in doc file
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 362 231 36.1% 08-Aug-95 18:06:40 NEW
- 5628 3737 33.5% 08-Aug-95 18:18:14 tl.000
- 5668 3746 33.9% 08-Aug-95 17:40:20 tl.020
- 14071 6171 56.1% 08-Aug-95 18:06:34 tl.doc
- -------- ------- ----- --------- --------
- 25729 13885 46.0% 08-Aug-95 17:51:08 4 files
-